package com.xinqi.modules.databank.dto.req;

import com.xinqi.common.base.annotations.ApiQueryParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 互动课件切片提问表-请求对象-查询
 *
 * @author: system
 * @date: 2023/03/15
 */
@Data
@ApiQueryParam
public class CourseResourceQuestionQueryDTO implements Serializable {

    /** 主键ID */
    @Schema(description = "主键ID")
    private Long id;
    /** 分页页数 */
    @Schema(description = "分页页数")
    private Integer pageNum;
    /** 每页数量 */
    @Schema(description = "每页数量")
    private Integer pageSize;
    /** 文件ID  */
    @Schema(description = "文件ID")
    private Long resourcePartId;
    /** 班级ID */
    @Schema(description = "班级ID")
    @NotNull(message = "班级ID不能为空")
    private Long classId;
    /** 课件ID */
    @Schema(description = "课件ID")
    @NotNull(message = "课件ID不能为空")
    private Long contentId;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "父级ID")
    private Long pid;
    @Schema(description = "顶级ID")
    private Long tPid;

}
